import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/dataTable/list',
    method: 'get',
    params: { query }
  })
}

export function fetchOptions() {
  return request({
    url: '/dataTable/options',
    method: 'post'
  })
}
